<script setup>
import { ref } from 'vue'

let props = defineProps(['entityDataItem'])
let entityDataItem = props.entityDataItem
</script>


<template>
    <div class="box">
        <div class="row1">
            <div class="tips1"></div>
            <p>{{ entityDataItem.field11 }}</p>
        </div>
        <div class="row2">
            <div class="li1">
                <img :src="entityDataItem.image0" alt="">
                <p>{{ entityDataItem.field12 }}</p>
            </div>
            <div>
                <img :src="entityDataItem.image1" alt="">
                <p>{{ entityDataItem.field13 }}</p>
            </div>
            <div>
                <img :src="entityDataItem.image2" alt="">
                <p>{{ entityDataItem.field21 }}</p>
            </div>
            <div>
                <img :src="entityDataItem.image3" alt="">
                <p>{{ entityDataItem.field22 }}</p>
            </div>
        </div>
    </div>
</template>


<style scoped>
.box {
    width: 100%;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    margin-bottom: 0.4rem;
    overflow: hidden;
    padding: 0.6rem;
    position: relative;
    overflow: hidden;
}

.tips1 {
    width: 1rem;
    height: 1rem;
    background-color: rgb(250, 109, 37);
    position: absolute;
    top: 0.9rem;
    left: -0.4rem;
    border-radius: 50%;
}

.row1 {
    font-size: 1.2rem;
    text-align: left;
}

.row1>p {
    margin-left: 0.4rem;
}

.row2 {
    width: 100%;
    margin-top: 0.4rem;
    display: flex;
}

.row2>div {
    width: 4rem;
    margin-right: 1rem;
}

.row2 img {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
}
.row2 p {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

</style>
